package com.cy.pj.modules.entity;

import com.cy.pj.common.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 fz_order_item
 *
 * @author kiven
 * @date 2023-03-07
 */

public class OrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 店铺id */
    //@Excel(name = "店铺id")
    private Long shopId;

    /** 1级分类 */
    //@Excel(name = "1级分类")
    private Long categoryId1;

    /** 2级分类 */
    //@Excel(name = "2级分类")
    private Long categoryId2;

    /** 3级分类 */
    //@Excel(name = "3级分类")
    private Long categoryId3;

    /** SPU_ID */
    //@Excel(name = "SPU_ID")
    private String spuId;

    /** SKU_ID */
    //@Excel(name = "SKU_ID")
    private String skuId;

    /** 订单ID */
    //@Excel(name = "订单ID")
    private String orderId;

    /** 商品名称 */
    //@Excel(name = "商品名称")
    private String name;

    /** 单价 */
    //@Excel(name = "单价")
    private String  price;

    /** 数量 */
    //@Excel(name = "数量")
    private Integer num;

    /** 总金额 */
    //@Excel(name = "总金额")
    private Long money;

    /** 实付金额 */
    //@Excel(name = "实付金额")
    private Long payMoney;

    /** 图片地址 */
    //@Excel(name = "图片地址")
    private String image;

    /** 重量-线下选填 */
    //@Excel(name = "重量-线下选填")
    private Long weight;

    /** 运费-线下选填 */
    //@Excel(name = "运费-线下选填")
    private Long postFee;

    /** 是否退货 */
    //@Excel(name = "是否退货")
    private String isReturn;

    // 为了适配新增订单过来的属性
    private Date addTime;

    @Override
    public String toString() {
        return "OrderItem{" +
                "id='" + id + '\'' +
                ", shopId=" + shopId +
                ", categoryId1=" + categoryId1 +
                ", categoryId2=" + categoryId2 +
                ", categoryId3=" + categoryId3 +
                ", spuId='" + spuId + '\'' +
                ", skuId='" + skuId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", num=" + num +
                ", money=" + money +
                ", payMoney=" + payMoney +
                ", image='" + image + '\'' +
                ", weight=" + weight +
                ", postFee=" + postFee +
                ", isReturn='" + isReturn + '\'' +
                ", addTime=" + addTime +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getCategoryId1() {
        return categoryId1;
    }

    public void setCategoryId1(Long categoryId1) {
        this.categoryId1 = categoryId1;
    }

    public Long getCategoryId2() {
        return categoryId2;
    }

    public void setCategoryId2(Long categoryId2) {
        this.categoryId2 = categoryId2;
    }

    public Long getCategoryId3() {
        return categoryId3;
    }

    public void setCategoryId3(Long categoryId3) {
        this.categoryId3 = categoryId3;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getMoney() {
        return money;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public Long getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Long payMoney) {
        this.payMoney = payMoney;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getWeight() {
        return weight;
    }

    public void setWeight(Long weight) {
        this.weight = weight;
    }

    public Long getPostFee() {
        return postFee;
    }

    public void setPostFee(Long postFee) {
        this.postFee = postFee;
    }

    public String getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(String isReturn) {
        this.isReturn = isReturn;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
